package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:char(11);not null"`
	Password string `gorm:"type:char(32);not null"`
}
type Novel struct {
	gorm.Model
	Title  string `gorm:"type:varchar(50);not null"`
	Image  string `gorm:"type:varchar(500);not null"`
	UserId int    `gorm:"type:int(11);not null"`
}
